﻿<%@ Page Title="Filmquiz Admin" Language="C#" MasterPageFile="~/masterpage.master"
    AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="BiocityFilmquizAdmin.About"
    MaintainScrollPositionOnPostback="true" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div id="loggedInDiv" runat="server">
        <div>
            <table cellpadding="5px">
                <tr>
                    <td>
                        Runde:
                    </td>
                    <td>
                        <asp:DropDownList ID="roundDropDown" runat="server" AutoPostBack="true" Width="100px">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:Button ID="createNewRound" runat="server" Text="Opret ny runde" OnClick="createNewRound_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Slut dato:
                    </td>
                    <td>
                        <asp:Label ID="endDateLabel" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Vælg ny slutdato:
                    </td>
                    <td>
                        <asp:Calendar ID="endCalendar" runat="server" OnSelectionChanged="endCalendar_SelectionChanged"
                            Width="400px"></asp:Calendar>
                    </td>
                </tr>
            </table>
            <br />
            <div style="margin-bottom: 10px;">
                Der er uploadet
                <asp:Label ID="numberOfImagesLabel" runat="server" Text=""></asp:Label>
                billeder i den valgte runde</div>
        </div>
        <div style="width: 920px; border: thin dashed black; margin-bottom: 20px;">
        </div>
        <div>
            <asp:PlaceHolder ID="imagesPlaceholder" runat="server"></asp:PlaceHolder>
        </div>
        <div class="uploadImageContainer">
            <div>
                Upload nyt billede til den valgte runde (Skal være i JPEG format)</div>
            <input id="fileUpload" type="file" runat="server" /><br />
            <asp:Button ID="uploadButton" runat="server" Text="Upload" OnClick="uploadButton_Click" />
            <asp:Label ID="resultLabel" runat="server" Text=""></asp:Label>
        </div>
        <br />
        <br />
        <div style="width: 920px; border: thin dashed black; margin-bottom: 20px;">
        </div>
        <div id="extraQuestions">
            <div>
                <asp:PlaceHolder ID="extraPlaceholder" runat="server"></asp:PlaceHolder>
            </div>
            <div class="uploadImageContainer">
                <div>
                    Upload lyd til extraspørgsmål til den valgte runde (Skal være i MP3 format)</div>
                <input id="extraUpload" type="file" runat="server" /><br />
                <asp:Button ID="extraButton" runat="server" Text="Upload" OnClick="uploadExtraButton_Click" />
            </div>
        </div>
        <div>
            <script type="text/javascript" src="http://mediaplayer.yahoo.com/js">
            </script>
        </div>
    </div>
    <div id="notLoggedInDiv" runat="server">
        <h2>
            Du skal være logged ind for at bruge denne side.</h2>
    </div>
</asp:Content>
